<?php /* Smarty version Smarty-3.1.11, created on 2013-03-13 12:00:57
         compiled from ".\smarty\templates\hotel_details.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1019651405c69bde8b0-44313028%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '4bb4c397cd3d84696204417219ebddb858de6779' => 
    array (
      0 => '.\\smarty\\templates\\hotel_details.tpl',
      1 => 1362500817,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1019651405c69bde8b0-44313028',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'hotel' => 0,
    'amenity' => 0,
    'key' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_51405c69ee6861_37216969',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51405c69ee6861_37216969')) {function content_51405c69ee6861_37216969($_smarty_tpl) {?><div class="hotels" id="hotels<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
" style="display: block;">
    <?php if ($_smarty_tpl->tpl_vars['hotel']->value['supplierType']=="E"){?>
    <?php }else{ ?>
    <?php }?>
    <strong>Property Category:</strong>
    <?php if ($_smarty_tpl->tpl_vars['hotel']->value['propertyCategory']==1){?>
        <span> hotel</span>
    <?php }elseif($_smarty_tpl->tpl_vars['hotel']->value['propertyCategory']==2){?>
        <span> suite</span>
    <?php }elseif($_smarty_tpl->tpl_vars['hotel']->value['propertyCategory']==3){?>
        <span> resort</span>
    <?php }elseif($_smarty_tpl->tpl_vars['hotel']->value['propertyCategory']==4){?>
        <span> vacation rental/condo</span>
    <?php }elseif($_smarty_tpl->tpl_vars['hotel']->value['propertyCategory']==5){?>              
        <span> bed & breakfast</span>
    <?php }else{ ?>
        <span> all-inclusive</span>
    <?php }?>
    <?php echo $_smarty_tpl->tpl_vars['hotel']->value['propertyDescription'];?>

    <strong>Hotel Policy</strong><br />
    <?php echo $_smarty_tpl->tpl_vars['hotel']->value['hotelPolicy'];?>
<br /><br />
    <strong>Checkin Instructions</strong><br />
    <?php echo $_smarty_tpl->tpl_vars['hotel']->value['checkInInstructions'];?>
<br />
    <strong>Amenities</strong><br />
    <table>
        <tbody>
            <?php  $_smarty_tpl->tpl_vars['amenity'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['amenity']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['hotel']->value['propertyAmenities']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['amenity']->total= $_smarty_tpl->_count($_from);
 $_smarty_tpl->tpl_vars['amenity']->iteration=0;
 $_smarty_tpl->tpl_vars['amenity']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['amenity']->key => $_smarty_tpl->tpl_vars['amenity']->value){
$_smarty_tpl->tpl_vars['amenity']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['amenity']->key;
 $_smarty_tpl->tpl_vars['amenity']->iteration++;
 $_smarty_tpl->tpl_vars['amenity']->index++;
 $_smarty_tpl->tpl_vars['amenity']->first = $_smarty_tpl->tpl_vars['amenity']->index === 0;
 $_smarty_tpl->tpl_vars['amenity']->last = $_smarty_tpl->tpl_vars['amenity']->iteration === $_smarty_tpl->tpl_vars['amenity']->total;
?>
                <?php if ($_smarty_tpl->tpl_vars['amenity']->first==true){?>
                <tr>
                <?php }?>
                    <td><span id="amenity<?php echo $_smarty_tpl->tpl_vars['amenity']->value['amenityId'];?>
" ><?php echo $_smarty_tpl->tpl_vars['amenity']->value['amenity'];?>
</span></td>
                <?php if ($_smarty_tpl->tpl_vars['amenity']->first!=true){?>
                    <?php if (!($_smarty_tpl->tpl_vars['key']->value % 5)){?>
                    </tr>
                        <?php if ($_smarty_tpl->tpl_vars['amenity']->last!=true){?>
                        <tr>
                        <?php }?>    
                    <?php }?>
                <?php }?>
        <?php } ?>
        </tbody>
</div>
<?php }} ?>